package cn.com.thingo.hyintelligent.base.contract;

import cn.com.thingo.hyintelligent.base.BasePresenter;
import cn.com.thingo.hyintelligent.base.BaseView;
import cn.com.thingo.hyintelligent.model.bean.CommonBean;
import cn.com.thingo.hyintelligent.model.bean.GatewayDetailBean;

public interface AuthContract {
    interface View extends BaseView {
        void viewGatewayDetail(GatewayDetailBean gatewayDetailBean);

        void viewAddAuth(CommonBean commonBean);

        void viewDelAuth(CommonBean commonBean);

    }

    interface Presenter extends BasePresenter<AuthContract.View> {
        void gatewayDetail(String token, String gatewayId);

        void addAuth(String token, String gatewayId, String telephone);

        void delAuth(String token, String gatewayId, String telephone);

    }
}
